<?php
namespace app\api\controller;

use app\BaseController;
use think\exception\HttpResponseException;
// api公共控制器
/**
 * 不需要登录情景下使用的基础类
 */
class ApiBase extends BaseController{

	public function initialize(){
		parent::initialize();
	}
	
	public function show(...$args){
		//halt(...$args);
		throw new HttpResponseException(show(...$args));
	}
}